/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.programs.program10.impl;

import java.util.ArrayList;
import java.util.List;
import za.ac.cput.pretorius.programs.program10.LogRecord;

/**
 *
 * @author griddy
 */
public class LogRecordImpl implements LogRecord {
    
    List<Integer> records = new ArrayList <Integer>();

    @Override
    public void addValue(int value) {
        records.add(Integer.valueOf(value));
    }

    @Override
    public Object[] retrieveValues() {
        return records.toArray();
    }
    
}
